package v1

import (
	v1 "github.com/cuiyuanxin/airuisi-admin/internal/controller/v1"
	"github.com/cuiyuanxin/airuisi-admin/internal/middleware"
	"github.com/gin-gonic/gin"
)

func SetupRouter(r *gin.RouterGroup) {
	v1apiR := r.Group("/v1")
	v1apiR.Use(middleware.JWTMiddleware())
	{
		v1.NewRole(v1apiR)
	}

}
